
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("SYSAREAS")] 
     public partial class SysAreas
    {
        public SysAreas()
        {
            this.SysAreas1 = new HashSet<SysAreas>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("NAME")] 
     public string Name { get; set; }
        [Column("PARENTID")] 
     public string ParentId { get; set; }
        [Column("SORT")] 
     public int Sort { get; set; }
        [Column("ENABLE")] 
     public bool Enable { get; set; }
        [Column("CREATETIME")] 
     public System.DateTime CreateTime { get; set; }
        [Column("ISMUNICIPALITY")] 
     public bool IsMunicipality { get; set; }
        [Column("ISHKMT")] 
     public bool IsHKMT { get; set; }
        [Column("ISOTHER")] 
     public bool IsOther { get; set; }
    
        public virtual ICollection<SysAreas> SysAreas1 { get; set; }
        public virtual SysAreas SysAreas2 { get; set; }
    }
}
